<html>
	<head>
		<script>
			function loadScript(url, callback)
			{
				var head = document.getElementsByTagName("head")[0];
				var script = document.createElement("script");
				script.src = url;
     
				var done = false;
				script.onload = script.onreadystatechange = function _page17_handler()
				{
					if( !done && ( !this.readyState || this.readyState == "loaded" || this.readyState == "complete"))
					{
                        done = true;
						callback();
                        script.onload = script.onreadystatechange = null;
                        head.removeChild( script );
					}
				};

				head.appendChild(script);
			}
			function callFunction()
			{
				changeUrls();
			}

		</script>
	</head>
	<body>
		<a href="#">Test Link</a>
		<script>
			loadScript("17.js", callFunction);
		</script>
	</body>
</html>